-
Home
-
StoreKeeper for WooCommerce
-
9.1.0
-
Code
-
Classes
- Media
Total Complexity |
56 |
Dependencies |
12 |
Dependents |
5 |
Total lines |
448 |
Lines of code |
280 |
Logical lines of code |
158 |
Comment lines |
73 |
Methods |
17 |
Properties |
0 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
createAttachment() |
A |
42 |
8 |
49 |
calculateImageSrcSet() |
A |
51 |
8 |
25 |
downloadFile() |
S |
49 |
6 |
29 |
getImageScaleVariantString() |
S |
54 |
6 |
20 |
tryDownloadFile() |
S |
54 |
5 |
21 |
createAttachmentUsingCDN() |
S |
48 |
4 |
32 |
fixUrl() |
S |
61 |
3 |
12 |
getAttachmentImageSource() |
S |
61 |
3 |
11 |
createImageMeta() |
S |
54 |
2 |
23 |
getAttachmentId() |
S |
69 |
2 |
7 |
getAttachmentUrl() |
S |
71 |
2 |
6 |
cleanAttachmentUrl() |
S |
63 |
2 |
9 |
getAttachmentByCdnUrl() |
S |
61 |
1 |
12 |
getAttachment() |
S |
61 |
1 |
12 |
attachmentExists() |
S |
75 |
1 |
4 |
hasUploadDirectory() |
S |
71 |
1 |
5 |
isAttachmentCdn() |
S |
78 |
1 |
3 |